From: Antoine Musso Date: Wed, 22 Sep 2004 00:58:41 +0000 (+0000) Subject: Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=490 Implement a header in Special... X-Git-Tag: 1.5.0alpha1~1901 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=666c29c0d4b2e489792aad0eeb6a48d9f95c90ff;p=lhc%2Fweb%2Fwiklou.git Fix bugzilla.wikipedia.org/show_bug.cgi?id=490 Implement a header in Special:Category --- diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 248ea64c16..9be3d1c9d9 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -25,6 +25,9 @@ class CategoriesPage extends QueryPage { return false; } + function getPageHeader() { + return '

'.wfMsg('categoriespagetext')."


\n"; + } function getSQL() { $NScat = NS_CATEGORY; $dbr =& wfGetDB( DB_SLAVE ); diff --git a/languages/Language.php b/languages/Language.php index f5a7107b0e..2d04101c88 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1013,6 +1013,8 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.", a direct URL, and so may still be listed here despite being in active use.', 'booksources' => 'Book sources', +'categoriespagetext' => 'The following categories exists in the wiki.', + # FIXME: Other sites, of course, may have affiliate relations with the booksellers list 'booksourcetext' => "Below is a list of links to other sites that sell new and used books, and may also have further information